﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace DoVuiKinhThanh.Domain
{
    public class Quiz : DomainBase
    {
        public const string PROP_CONTENT = "Content";
        public const string PROP_ANSWERS = "Answers";

        private string m_content = string.Empty;
        private Answers m_answers = new Answers();

        public string Content
        {
            get
            {
                return m_content;
            }
            set
            {                
                if (m_content != value)
                {
                    m_content = value;
                    OnPropertyChanged(PROP_CONTENT);
                }
            }
        }

        public Answers Answers 
        {
            get
            { 
                return m_answers;
            }
            set 
            { 
                if (m_answers != value) 
                {
                    m_answers = value;
                    OnPropertyChanged(PROP_ANSWERS);
                } 
            }
        }
    }
}
